<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>确认订单</title>
		<link rel="stylesheet" href="css/bootstrap.min.css" />
		<link rel="stylesheet" href="css/suree.css">
	</head>
	<body class="body">
		
		<div class="container-fluid header">	
			<div class="row">
				<div class="col-xs-12" style="border-bottom: 2px solid #DBDBDB;padding: 0px;">
					<div class="col-xs-1" style="padding: 0px;">
						<p class="tu1"><a href="javascript:history.go(-1)"><img src="img/尖括号.png" height="22px"/></a></p>
					</div>
					<div class="col-xs-1" style="padding: 0px;">
						<p class="tu2"><a href=""><img src="img/关闭.png" height="22px"></a></p>
					</div>
					<div class="col-xs-10" style="padding: 0px;">
						<p class="house">确认订单</p>
					</div>
					
				</div>
			</div>
		</div>

		<form action="" method="post">

			<div class="dizhi1" style="height: 132px">

				<p>暂未获取到收获地址</p>
				<p><a href="orderaddress?id=${shopa.id}" class="xindizhi" style="height: 30px;display: inline-block;width: 100%;">请新建收获地址 <span style="font-size: 22px;"><img src="img/kuohao.png" width="16px"/></span></a></p>
				<p></p>
				<p class="peisong">配送方式<span>快递</span></p>

			</div>

			<div class="dinpu1" style="height: 212px;">
				<p><img src="img/商城.png" width="20px"/>&nbsp;邻里邦</p>
				<div>
					<img src="img/${shopa.shopImg}" width="105px" style=""/>
					<p class="shoptitle" style="">${shopa.shopName}</p>
					<p class="num" style="">￥<strong class="price">${shopa.shopPrice}</strong><span style="float: right;">x<lable class="numa"></lable></span></p>
					<p style="width: 100%;text-align:right;color:#A2A2A2 ;font-size: 16px;margin-top:25px;">共<span class="jijian"></span>件<span style="margin-left: 15px;color: black;font-size: 18px;">商品小计：<span style="color: #FE4543;" class="totalPrice"></span></span></p>
				</div>
			</div>
			
			
			<p class="youhuiquan">优惠券<span>暂无可用&nbsp;<img src="img/kuohao.png" width="16px"/></span></p>
			<p class="youhuiquan">余额/卡<span>暂无可用&nbsp;<img src="img/kuohao.png" width="16px"/></span></p>
			<p class="youhuiquan">买家留言<input type="text" placeholder="留言建议提前协商（50字以内）" style="width: 76%;"/></p>
			
			
			<div style="width: 100%;background-color: white;height:60px;line-height: 60px;position: fixed;bottom: 0px;padding: 0px 25px;font-size: 18px;">
				<p>应付：<span style="color:#FE4543;" class="totalPrice"></span>
				<button style="height:50px;line-height:40px;font-size:16px;width:125px;border-radius:20px;float:right;margin-top:10px;border: none;outline: none;background-color: #FE4543;color: white;height: 40px;">提交订单</button></p>
			</div>
		</form>

		<script type="text/javascript" src="js/jquery-3.2.1.js" ></script>
		<script>
			function totalPrice() {
				var numa= localStorage.getItem("numm");
				$(".numa").text(numa);
				$(".jijian").text(numa);
				var price = $(".price").text();
				var totalPrice = parseInt(numa)*parseInt(price);
				$(".totalPrice").text("￥"+totalPrice);
			}
			totalPrice();


		</script>
	

	</body>
</html>
